package org.spiderflow.config.permission;

import java.io.Serializable;

/**
 * @Author: tjs
 * @Date: 2019/5/24 11:53
 * @Desc:
 */
public enum PermissionCodeEnum implements Serializable {

    /**
     * @moduleName：module.conlog
     * @moduleDescription：后台管理
     */
    pachong("pachong", "爬虫列表"),
    quanju("quanju", "全局变量"),
    shujuyuan("shujuyuan", "数据管理"),
    rizhi("rizhi", "日志管理"),
    jiben("jiben", "基本资料"),
    quanxian("quanxian", "权限管理"),
    defaultval(null, ""),
    ;









    private String code;
    private String description;

    //必须是私有的
    private PermissionCodeEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
